#ifndef ADDMYVIDEO_H
#define ADDMYVIDEO_H

#include <QWidget>
#include<QMediaPlayer>
#include<QAudioOutput>
namespace Ui {
class addmyvideo;
}

class addmyvideo : public QWidget
{
    Q_OBJECT

public:
    explicit addmyvideo(QWidget *parent = nullptr);
    ~addmyvideo();
    int videoid;
    QString videoimage;
    QString videoaddress;
    QString videolength;
    QMediaPlayer* me;
signals:
    void addonemyvideo(int videoid,QString videoaddress,QString videoimage,QString videolength);
private slots:
    void on_selectvideoaddress_clicked();

    void on_selectimagebtn_clicked();

    void on_confirm_clicked();
private:
    Ui::addmyvideo *ui;
};

#endif // ADDMYVIDEO_H
